﻿using System;
using System.Data;
using ControleRepresentante.Data.Helpers;

namespace ControleRepresentante.Data
{
    public interface IDataAccess : IDisposable
    {
        object ExecuteScalar(string command, params Parameter[] parameters);
        IDataReader ExecuteReader(string command, params Parameter[] parameters);
        void ExecuteCommand(string command, params Parameter[] parameters);
        string GetTypeName(ColumnType columnType);
    }
}